Add three new demo apps: Popover Toggle, MessageStrip Icons, Message Manager - #688
Merged
Merged
Conversation
Three minimalist demos, one per recent abap2UI5 framework addition: - app 465 (More - Popover Toggle): toggles a Popover open/closed via follow_up_action with cs_event-control_by_id and the new whitelisted toggleBy method, anchored to the pressed button's DOM ref ($event.oSource.sId) - the controller pattern oPopover.openBy(oButton) / oPopover.close(). - app 466 (More - MessageStrip Inline Icons): requires the curated formatter module and binds a plain string with %%icon:sap-icon://...%% placeholders through Formatter.expandInlineIcons, rendered by a MessageStrip with enableFormattedText. - app 467 (More - Message Manager): drives an ABAP message table into the central message model via the invisible z2ui5.cc.MessageManager companion control; the app-authored Error targets the Name field and the collected messages show in a List bound to the message> model. Regenerated the basic overview catalog (npm run launchpad); abaplint 0 issues, check-agents-structure clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01M4yuDTkJkCrG37W7tpPL6s
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds three new demonstration applications to the abap2UI5 framework showcasing advanced UI patterns and features.
Key Changes
z2ui5_cl_demo_app_465: Demonstrates popover toggle functionality using the
CONTROL_BY_IDfollow-up action pattern. Shows how to imperatively open/close a popover from the backend, anchored to the button that triggered the action.z2ui5_cl_demo_app_466: Illustrates inline icon rendering in MessageStrip using a custom formatter. Demonstrates the
expandInlineIconsformatter that replaces%%icon:sap-icon://...%%placeholders with actual icon glyphs, eliminating hardcoded icon codepoints in application code.z2ui5_cl_demo_app_467: Showcases app-authored message management via the
z2ui5.cc.MessageManagercompanion control. Demonstrates how to push application-generated messages (errors, information) into the central message manager, with support for field-level targeting and valueState binding.Updated the main demo app catalog (
z2ui5_cl_demo_app_g00) to register all three new demo applications in the "More" section of the Basic II group.Implementation Details
z2ui5_if_appimplementationhttps://claude.ai/code/session_01M4yuDTkJkCrG37W7tpPL6s